Skip to main content
Solved

Is the website tracking code and form code the same?


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.

 

 

View original
Did this topic or the replies in the thread help you find an answer to your question?

2 replies

Dov
Forum|alt.badge.img+61
  • Klaviyo Alum
  • 1493 replies
  • 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
  • 1 reply
  • September 27, 2022

I am Digital Marketing Expert