Skip to main content
Solved

Is the website tracking code and form code the same?

  • April 15, 2021
  • 2 replies
  • 533 views

Isidro
Contributor I
Forum|alt.badge.img+2

I have this doud. The webiste tracking code in Klaviyo is

<script
  async type="text/javascript"  src="//static.klaviyo.com/onsite/js/klaviyo.js?company_id=publicApi"
></script> 

 

And the form code is:

<script

async type="text/javascript" src="https://static.klaviyo.com/onsite/js/klaviyo.js?company_id=publicApi"></script>

Is almost the same. Do I need to install both? 

If I test the webtracking it says is installed correctly, but the form tracking says is not. 

 

Website tracking:

Form tracking: 

 

Best answer by Dov

Hi @Isidro,

Thank you for sharing your question with the Klaviyo Community!

They are the same script. That error will sometimes appear if you manually install our onsite javascript, as long as one instance of the script is on your website, there is no need to be concerned about that message. Only one script is necessary. 

Thanks and have a great weekend.

 

 

2 replies

Dov
Forum|alt.badge.img+61
  • Klaviyo Alum
  • Answer
  • April 16, 2021

Hi @Isidro,

Thank you for sharing your question with the Klaviyo Community!

They are the same script. That error will sometimes appear if you manually install our onsite javascript, as long as one instance of the script is on your website, there is no need to be concerned about that message. Only one script is necessary. 

Thanks and have a great weekend.

 

 


Forum|alt.badge.img+1
  • Contributor I
  • September 27, 2022

I am Digital Marketing Expert