Tracking conversions in Later Influence™ (formerly Mavrck) requires a simple, one-time technical setup process outlined in this article. After this is configured, Tracking Links will track conversions in addition to clicks.
To learn more about conversion tracking functionality, see Clicks and Conversions Overview.
Conversion Tracking Setup Process
Later Influence will provide you with two short snippets of code to install on your website:
- The first code snippet needs to be installed within the
<head>
tag of your site
- Including it in the
<head>
tag ensures that it will work across all of the pages on your site, rather than having to add it individually to each page
- Including it in the
- The second code snippet needs to be installed on the page users reach after completing the conversion
- For example, a purchase confirmation page
Once installed, you can track any conversions on your website by users who have clicked on Later Influence-generated tracking links. Your Later Influence team will assist you in deciding what pages to track and how to customize the code snippets.
Setup is a two-part process, with installation followed by testing. Once the setup is verified, you can add tracking links in campaigns and start tracking real conversions.
Install Conversion Tracking Code
Your Later Influence implementation manager will provide the unique code snippet for conversion tracking during onboarding, or you can access it at any time from the Settings > Conversion Scripts section.
Access Your Unique Code Snippet
- In Later Influence, click Settings from the main menu
- Click the Conversion Scripts tab
- Click Landing Page Code Snippet to view the code snippet
- This snippet goes within the <head> tag of your site, ensuring that it will be on every page a user lands on after clicking the Later Influence-generated tracking link
- Click Check-out Page Code Snippet to view the code snippet
- This snippet goes on the page where the user is redirected after completing the purchase or conversion
- Click Copy to clipboard and share each snippet with your developer
Code Examples
The code snippets will look something like the following examples:
Landing Page Code Snippet
<script
type="text/javascript"
src="https://www.mnpa6gtrk.com/scripts/sdk/everflow.js"
></script>
<script type="text/javascript">
const offerId = EF.urlParameter("oid");
if (offerId) {
EF._persist("offer_id", offerId);
EF.click({
transaction_id: EF.urlParameter("_ef_transaction_id"),
offer_id: EF.urlParameter("oid"),
});
}
</script>
Check-out Page Code Snippet
<script
type="text/javascript"
src="https://www.mnpa6gtrk.com/scripts/sdk/everflow.js"
></script>
<script type="text/javascript">
const offerId = EF._fetch("offer_id");
if (offerId) {
EF.conversion({
offer_id: offerId,
transaction_id: EF.getTransactionId(offerId),
// initialize this with the value you want to set for each conversion
// amount: 0,
});
}
</script>
The following example shows a landing page code snippet (in bold) contained in the <head>
HTML tag:
Example Snippet In <head> Tag
<!DOCTYPE html>
<html lang="en">
<head>
<script
type="text/javascript"
src="https://www.mnpa6gtrk.com/scripts/sdk/everflow.js"
></script>
<script type="text/javascript">
const offerId = EF.urlParameter("oid");
if (offerId) {
EF._persist("offer_id", offerId);
EF.click({
transaction_id: EF.urlParameter("_ef_transaction_id"),
offer_id: EF.urlParameter("oid"),
});
}
</script>
<title>Example Webpage</title>
</head>
<body>
<!-- Content of your website -->
<h1>Welcome to My Website</h1>
<p>This is a sample paragraph on my webpage.</p>
</body>
</html>
Customize Your Code Snippet
Only the amount
parameter in the check-out page code snippet can be customized (you can't customize any fields in the landing page code snippet).
The amount
parameter is the one to track the value of each conversion:
// initialize this with the value you want to set for each conversion
// amount: 0
The value of each conversion may be a dynamic or static amount, depending on the type of conversion you're tracking:
Dynamic value
For purchases and similar conversions, enter a dynamic value in the code snippet to track the unique amount of each purchase.
Dynamic value that represents the purchase amount on your website where the check-out page code snippet is installed. Your developer will have to put the amount/value string you have on your checkout page to capture the conversion value.
// initialize this with the value you want to set for each conversion
amount: {amount.string}
Static value
Static values can be used for sign-ups or other types of conversions and can be set at any amount.
Un-comment the following code and enter a static value you want to track conversions for:
// initialize this with the value you want to set for each conversion
amount: '5.00'
Run a Test Conversion
Once you've confirmed installation with your Later Influence implementation manager, they will provide you with a conversion link to test as follows:
- First, check your web browser settings to ensure that:
- Cookies are enabled, and
- You aren't in private browsing mode or an Incognito window
- Open the test conversion link sent by your Later Influence implementation manager, or create your own test link by following these steps
- Once you have reached the right page, right-click anywhere on the page and click Inspect from the menu that appears:
- Open your web browser's Find on page tool (or use keyboard shortcut Ctrl+F on Windows or Command+F on Mac) and search for the text EF
- You should see something like the example below:
- Send a screenshot of this to your Later Influence implementation manager for confirmation that the code snippets have been successfully installed
-
In the same browser window, navigate to the page where you are tracking conversions (such as the purchase confirmation page)
- You can enter the exact URL of the confirmation page, or generate a real conversion by completing a purchase or sign-up
- Repeat steps 3-5—the conversion tracking code will look something like the example below:
- Same as above, please send a screenshot to your Later Influence implementation manager for confirmation that the code snippets have been successfully installed