First steps
Сourses
Messages
- How to Add a Hidden Preheader to an Email
- How to Launch an Email Campaign
- How to Create an Email
- Email Campaign Reports
- How to Create and Launch Multilingual Campaigns
- How to Add Tags
- How to Create an AMP Form
- How to Create a Synchronized Module
- How to Create a Gmail Promotions Annotation for Emails
- How to Set Up Product Recommendations for Email
- How to Set Up Email Domain Authentication
- How to Send Extra Campaigns
- Adaptive email builder review
- Designing your email
- How to Add a Rollover Effect to an Email
- How to Add or Change a Sender Name
- How to Add a Table to an Email
- Working with “Images” block
- How to Create an AMP Carousel
- How to Add a Custom Font
- How to Add a Background to an Email
- All for responsivity in our editor
- Editing HTML and CSS
- Product Blocks Generator
- How to Add a Video to an Email
- How to Add Social Media Buttons to an Email
- How to Test Email Subject Lines
- How to Create an AMP Accordion
- How to Create an AMP Form
- How to Create a Synchronized Module
- How to Create a Gmail Promotions Annotation for Emails
- How to Add Anchor Links to an Email
- How to Create a Web Push Notification
- How to Set Up Web Pushes for Safari
- How to Set Multilingual Browser Push Notification Permission
- Adding Data on User’s Web Activity to Push
- How to Send Web Push Notifications from a Website
- How to Create a Google Project to Collect Tokens for Web Push Notifications
Contacts
- Contact Blacklist
- How to Set Up Web Tracking by Sending Events via Java Script Requests
- Creating Pop-ups via Google Tag Manager or WordPress
- How to Work with the All Contacts Tab in the System
- How to Request a Subscription Form
- Contact Import
- Contact Fields in the System
- How to Add Additional Contact Fields
- How to Use Subscription Categories
- How to Set Up a Web Form for Your Website
- How to Set Up Double Opt-In
- How to Set Up Web Tracking for Your Website
- How to Create a Survey
- Integration with Tilda
- Creating Pop-ups via Google Tag Manager or WordPress
- How to Request a Subscription Form
- How to Create Campaigns to Collect Additional Contact Data
- How to Manage Data Collected via AMP Forms
- How to Set Up a Modal Window for Your Website
Analytics
Automation
- Dynamic content in emails. Velocity.
- How to Use Segmentation by Events
- How to Import External Data from Google Sheets
- How to Set Up an Abandoned Cart Workflow
- How to Add a Promo Code to Messages
- How to Connect to HTTP Request as an External Data Source
- What is Preprocessor
- Personalization and Dynamic Variables
- How to Send Past Events
- How to Create Campaigns to Collect Additional Contact Data
Integration
- Webhooks
- Product Recommendations for Website
- How to Set Up a Web Form for Your Website
- How to Create App Inbox Messages
- How to Set up Informers for Your Site
- API Keys
- How to Set Up Web Tracking for Your Website
- How to Set Up Web Tracking by Sending Events via Java Script Requests
- Integration with Tilda
- Automated Contact Export from Facebook Leads to the platform
- How to Transfer Website Behavior Data through REST API
- How to Set Up a Modal Window for Your Website
- How to Configure App Inbox for Websites
API
- How to Use the v1/event API Resource
- Using smartsend API resource
- How to Set Up Web Tracking by Sending Events via Java Script Requests
- How to Send Product Recommendations via the /v2/contacts/recoms/{dataSourceId} API Resource
- How to Send Past Events
- How to Send Orders via the API Resource v1/event
Recommendations
- How to Set Up Product Recommendations for Email
- Product Recommendations for Website
- How to Set Up Web Tracking for Your Website
- How to Set Up Web Tracking by Sending Events via Java Script Requests
- How to Send Product Recommendations via the /v2/contacts/recoms/{dataSourceId} API Resource
- How to Transfer Website Behavior Data through REST API
Creating Pop-ups via Google Tag Manager or WordPress
You can simplify the process of creating popups in eSputnik using Google Tag Manager or WordPress. See the instructions for using these systems below.
Placing a Popup via GTM
Add the eSputnik script to your site using GTM. For this:
1. In your eSputnik account, go to Site –> Forms. Get the script and copy it.
2. Click the New button in the Tags section of your GTM account.
3. Name the tag and click on the Tag Configuration field.
4. Select the tag type Custom HTML.
5. Paste the script obtained in eSputnik into the HTML field. Save changes.
6. A dialog box will appear. Click Add Trigger. You can also click Activate in the tag settings window.
7. Select the type of trigger, for example — All Pages, to place a popup on all site pages.
The tag and activator you created are ready to publish.
Placing a Popup via WordPress
Use one of the three ways to add a script to a WordPress site (getting the script is described in the first step of the instructions for placing a popup window with GTM).
1. Using Insert Headers and Footers Plugin
This plugin allows you to install the eSputnik script on the entire WordPress site. For this:
1. Follow the link and download the plugin.
2. Activate the downloaded file and install the plugin according to the instructions.
3. To activate the plugin, go to Insert Headers and Footers -> Settings and insert the eSputnik script in one of the fields:
- Script in Header (recommended)
- Script in Footer
4. Click Save.
The plugin will automatically upload the code to each page of your site.
2. Add the script via code manually
You can add the script to WordPress files yourself (see instructions).
The script can be placed in the following site locations:
- Header
- A certain post
- A certain page
- Footer
Add a script to the site header
Paste the script into the functions.php file in the plugin for the site, or use the plugin for code snippets.
An example:
function wpb_hook_javascript() {
?>
<script>
// insert your javascript code here
</script>
<?php
}
add_action('wp_head', 'wpb_hook_javascript');
Add a script to a specific post
To add a plugin to one of the posts on WordPress, insert conditional logic into the code.
An example:
function wpb_hook_javascript() {
if (is_single ('5')) {
?>
<script type="text/javascript">
// insert your javascript code here
</script>
<?php
}
}
add_action('wp_head', 'wpb_hook_javascript');
This code executes the script only if the post has the identifier 5. You must insert 5 as your post ID.
The post ID is the number after post =.
Add a script to a specific page
To add a script to a WordPress page, add conditional logic to the code.
An example:
function wpb_hook_javascript() {
if (is_page ('10')) {
?>
<script type="text/javascript">
// insert your javascript code here
</script>
<?php
}
}
add_action('wp_head', 'wpb_hook_javascript');
This code executes the script only if the page has the ID 10.
Add a script to the site footer
Add the following code snippet to your website, so the script runs in the footer.
An example:
function wpb_hook_javascript_footer() {
?>
<script>
// insert your javascript code here
</script>
<?php
}
add_action('wp_footer', 'wpb_hook_javascript_footer');
This code is attached to wp_footer instead of wp_head.
3. Adding a script inside posts or pages using a plugin
Use the plugin to select a place to embed the script in the site content.
1. Download the Code Embed plugin.
2. Install and activate the plugin in the plugin menu in WordPress controls. See the instructions for details.
3. In the WordPress Post Editor, click on the context menu icon (three vertical dots) in the upper right corner of the screen and select Options.
4. In the dialog box, check the Custom fields option in the Advanced panel's section.
5. Click Enter new In the Custom Fields window under the content editor.
6. Enter the name of the custom field, which should start with the prefix CODE, and insert the script in the Value field.
7. Click Add Custom Field.
Use this custom field to embed script code in any post or page position. To do this, add the following embed code anywhere on your content:
Then click Update or Publish to run the script code on the page or post.