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

Conversion Events #35

Open
filopedraz opened this issue Mar 26, 2024 · 2 comments
Open

Conversion Events #35

filopedraz opened this issue Mar 26, 2024 · 2 comments
Assignees

Comments

@filopedraz
Copy link
Contributor

filopedraz commented Mar 26, 2024

Description


Reports every possible param query in the links leading to the platform.

Also add these trackers:

  • LinkedIn Insight Tag
<script type="text/javascript"> _linkedin_partner_id = "5846546"; 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>


Linked in: Per tracciare eventi come il clic su un pulsante, è necessario installare il codice qui sotto in modo che venga caricato quando l’utente clicca sul pulsante. Consulta la guida per informazioni su come usare lo snippet evento: (https://www.linkedin.com/help/lms/answer/a425606?accountId=512737983)

Codice:

window.lintrk('track', { conversion_id: 15878180 });


Reddit

Pixel ID: a2_eoi3cuwyxr59

<script> !function(w,d){if(!w.rdt){var p=w.rdt=function(){p.sendEvent?p.sendEvent.apply(p,arguments):p.callQueue.push(arguments)};p.callQueue=[];var t=d.createElement("script");t.src="https://www.redditstatic.com/ads/pixel.js",t.async=!0;var s=d.getElementsByTagName("script")[0];s.parentNode.insertBefore(t,s)}}(window,document);rdt('init','a2_eoi3cuwyxr59', {"aaid":"","email":"","externalId":"","idfa":""});rdt('track', 'PageVisit'); </script>

for Sign UP:

Sign Up

<script> rdt('track', 'SignUp', { "currency": "USD", "transactionId": "12345678", "value": 100, "products": [ { "id": "product id 1", "name": "product name 1", "category": "product category 1" }, // additional products can be added here ] }); </script>

Google

<script async src="https://www.googletagmanager.com/gtag/js?id=AW-16458475261"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'AW-16458475261'); </script>

Event Snippet:

<script> function gtag_report_conversion(url) { var callback = function () { if (typeof(url) != 'undefined') { window.location = url; } }; gtag('event', 'conversion', { 'send_to': 'AW-16458475261/NbU4CODWu6AZEP3Ngag9', 'event_callback': callback }); return false; } </script>

Twitter

<script> !function(e,t,n,s,u,a){e.twq||(s=e.twq=function(){s.exe?s.exe.apply(s,arguments):s.queue.push(arguments); },s.version='1.1',s.queue=[],u=t.createElement(n),u.async=!0,u.src='https://static.ads-twitter.com/uwt.js', a=t.getElementsByTagName(n)[0],a.parentNode.insertBefore(u,a))}(window,document,'script'); twq('config','okyry'); </script>

Event Code:

<script type="text/javascript"> // Insert Twitter Event ID twq('event', 'tw-okyry-okys3', { value: null // use this to pass the value of the conversion (e.g. 5.00) }); </script>

Pixel ID: okyry

@filopedraz
Copy link
Contributor Author

@Riccardo-Zanutta @giowe

@AlessandroMicagni
Copy link
Collaborator

AlessandroMicagni commented Apr 9, 2024

WE must change the twitter pixel due to the fact that our profile has been removed, here is the pixel for Filo profile:

pixel base code:

<script> !function(e,t,n,s,u,a){e.twq||(s=e.twq=function(){s.exe?s.exe.apply(s,arguments):s.queue.push(arguments); },s.version='1.1',s.queue=[],u=t.createElement(n),u.async=!0,u.src='https://static.ads-twitter.com/uwt.js', a=t.getElementsByTagName(n)[0],a.parentNode.insertBefore(u,a))}(window,document,'script'); twq('config','ol8u5'); </script>

conversion event:

<script type="text/javascript"> // Insert Twitter Event ID twq('event', 'tw-ol8u5-ol8uf', { value: null // use this to pass the value of the conversion (e.g. 5.00) }); </script>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: In Progress
Development

No branches or pull requests

3 participants