Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set up tracking linkedin tracking for saas #3837

Closed
novakzaballa opened this issue Apr 24, 2024 · 0 comments · Fixed by #3879
Closed

Set up tracking linkedin tracking for saas #3837

novakzaballa opened this issue Apr 24, 2024 · 0 comments · Fixed by #3879
Assignees

Comments

@novakzaballa
Copy link
Contributor

We are looking to set up tracking for the app.flagsmith subdomain so that we can understand user behaviour of campaign traffic.

LinkedIn Insight Tag
Paste the Insight Tag code below in your website’s global footer, right above the closing HTML tag. Adding the tag to the footer will let you track conversions or retarget on any page across your whole site.

<script type="text/javascript">
_linkedin_partner_id = "5747572";
window._linkedin_data_partner_ids = window._linkedin_data_partner_ids || [];
window._linkedin_data_partner_ids.push(_linkedin_partner_id);
</script><script type="text/javascript">
(function(l) {
if (!l){window.lintrk = function(a,b){window.lintrk.q.push([a,b])};
window.lintrk.q=[]}
var s = document.getElementsByTagName("script")[0];
var b = document.createElement("script");
b.type = "text/javascript";b.async = true;
b.src = "https://snap.licdn.com/li.lms-analytics/insight.min.js";
s.parentNode.insertBefore(b, s);})(window.lintrk);
</script>
<noscript>
<img height="1" width="1" style="display:none;" alt="" src="https://px.ads.linkedin.com/collect/?pid=5747572&fmt=gif" />
</noscript>

Once the insight tag is installed, the following insight tag event conversions can be created:

Created Organisation
This code needs to load when users have completed the “Created Organisation” action:
window.lintrk('track', { conversion_id: 16798338 });
Created Project
This code needs to load when users have completed the “Created Project” action:
window.lintrk('track', { conversion_id: 16798346 });
Created Feature
This code needs to load when users have completed the “Created Feature” action:

window.lintrk('track', { conversion_id: 16798354 });
Please contact Anna Redbond in case more background or details are needed.

@kyle-ssg kyle-ssg changed the title Set up tracking for app.flagsmith subdomain so we can understand user behaviour Set up tracking linkedin tracking for saas May 7, 2024
@kyle-ssg kyle-ssg linked a pull request May 7, 2024 that will close this issue
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants