<aside> 💡 Need to add a custom tracking code snippet or marketing tag to your Journey? Want to track conversions with a custom tool when your users reach a certain step in the Journey? This article will show you how!

</aside>

Step 1: Navigate to the custom integration location

Navigate to the Journey builder, select the Journey where you want to add custom tracking, and find the "Add Custom Integration" section under the "Tracking" tab.

Screenshot 2024-12-09 at 2.51.09 PM.png

Step 2: Add your custom tracking tag

Follow the instructions below based on how you’d like your custom tag to appear on your Journey.

How to make your tag appear on all Journey steps

To make your code snippet show up on every Journey step, paste your custom tag or tracking snippet where it says // PASTE YOUR CUSTOM TAG HERE.

return function(stepName, workflowId, conditionalWorkflowId) {

  gtag('event', stepName, {workflowId,conditionalWorkflowId});
  gtag('set', 'user_data', {stepName});
  fbq('trackCustom', stepName, {});

  // PASTE YOUR CUSTOM TAG HERE  
  
};

How to make your tag appear on just one Journey step

<aside> 💡 Make sure you've named the Journey step where you want the pixel to appear before continuing.

</aside>

To make your tracking tag or code snippet fire only on a specific page, use the following script with these modifications.

  1. Replace YOURSTEPNAME with the name of the Journey step that you’d like the code snippet to appear on.
  2. Paste your custom tag or tracking snippet where it says // PASTE YOUR CUSTOM TAG HERE.
return function(stepName, workflowId, conditionalWorkflowId) {

  gtag('event', stepName, {workflowId,conditionalWorkflowId});
  gtag('set', 'user_data', {stepName});
  fbq('trackCustom', stepName, {});
  
 if(stepName === 'YOURSTEPNAME'){
    
    //PASTE YOUR CUSTOM TAG CODE HERE
  
 
  }  
};