If you use Google Tag Manager to manage your website scripts, you can install the SparkLoop conversion pixel without editing your website's code directly.
You will need to create two separate tags: one for the landing page and one for the conversion (thank you) page.
Tag 1: The Landing Page Script
This tag ensures SparkLoop recognizes the user when they arrive from your offer.
Step 1. Log in to your Google Tag Manager workspace.
Step 2. Click Tags > New.
Step 3. Name the tag: SparkLoop - Base Pixel.
Step 4. Click Tag Configuration and select Custom HTML.
Step 5. Paste the following code into the HTML field:
<script async src="https://c-js.sparkloop.app/c.js" data-sparkloop></script>
Step 6. Click Triggering and select a trigger that matches your Landing Page (e.g., Page View where Page Path equals /your-landing-page).
Step 7. Save the tag.
Tag 2: The Conversion Script
This tag fires only when a user successfully completes the action.
Step 1. Click Tags > New.
Step 2. Name the tag: SparkLoop - Conversion Event.
Step 3. Click Tag Configuration and select Custom HTML.
Step 4. Paste the following code into the HTML field:
<script src="https://c-js.sparkloop.app/c.js" data-sparkloop></script> <script>SparkLoop.trackConversion("{OFFER_ID}")</script>โ ๏ธ Important: You must replace {OFFER_ID} in the code above with your actual Offer ID found in your SparkLoop dashboard.
Step 5. Click Triggering and create/select a trigger that fires only on your Thank You/Confirmation page (e.g., Page View where Page Path contains /thank-you).
Step 6. Save the tag.
Final Step: Publish Changes
None of these changes will be live until you publish your container.
Click the blue Submit button in the top right corner.
Add a version name (e.g., "Added SparkLoop Pixels") and click Publish.
Troubleshooting & Verification
If you have set up the tags in Google Tag Manager but are not seeing conversions appear in your SparkLoop dashboard, please check the following issues.
1. Did you publish your GTM container?
In Google Tag Manager, clicking "Save" on a tag does not make it live on your website. This is the most common oversight.
The Fix: Look at the top right of your GTM workspace. If the blue button says "Submit" and you see a count of "Workspace Changes," your tags are not live yet. Click Submit, add a version name, and then click Publish.
2. Check your Triggers with "Preview Mode"
If your triggers are too specific (or not specific enough), the code might not run.
The Fix: Use the GTM Preview button (top right). Enter your website URL and simulate a conversion flow.
When you load the Landing Page, you should see the
SparkLoop - Base Pixeltag fire.When you reach the Thank You Page, you should see the
SparkLoop - Conversion Eventtag fire.If the tags do not fire, check your Triggering rules in GTM to ensure the "Page Path" matches your actual URL exactly.
3. Did you click a referral link first?
The conversion pixel works by checking for a tracking cookie. If you test your GTM setup by typing your URL directly into the browser, no conversion will be recorded because the tracking cookie is missing.
How to test correctly: Open an Incognito/Private window, click a generic SparkLoop referral link (or a test link from your dashboard), and then go through the purchase flow.
4. Is the Offer ID correct inside the Tag?
A common mistake is copying the code exactly as shown in the help doc without adding your specific ID.
The Fix: Open your
SparkLoop - Conversion Eventtag in GTM. Ensure the code reads something likeSparkLoop.trackConversion("12345")and notSparkLoop.trackConversion("{OFFER_ID}").
5. Are you using an Ad Blocker?
If you are testing this yourself, browser extensions like uBlock Origin or AdBlock Plus might be blocking the GTM script or the SparkLoop pixel.
The Fix: Temporarily disable your ad blocker or use a "clean" browser profile when testing your conversion flow.


