Code Injection & 3rd party scripts embed

Code Injection & 3rd party scripts embed

Use the Code Injection feature in ExploreMyPC to embed any external 3rd party scripts that need to run in the header or footer of your project.

You can add Google Analytics, Google Tag, Facebook Pixel, Hotjar, Payment services or any 3rd party service that requires script embeds.

In ExploreMyPC you can inject code on 3 levels:

1. At the website level - this includes the injected code in the header and/or footer of all the pages of your website

You can access the Code Injection feature in any project in the Settings page on the Code Inject tab.


settings_code_inject.png


Based on the 3rd party service you want to embed, they might need to be included in the header or footer. You'll need to check with them how the services integrate.

If you want to inject scripts in the 'head' tag on every page of your site copy paste the script in the Header area.


header_inject.png


If you want to inject scripts in the 'footer' tag on every page of your site copy paste the script in the Footer area.

footer_inject.png


Save your changes by pressing the Save Changes button.

2. At the page level - this includes the injected code in the header and/or footer only on a particular page


page_code_inject.png

3. Inside a page - this includes the injected code in the content of your pages

You can do that by copy/pasting the code in an Embed element. Drag the element on the page.


embed_1.png


And paste the code into the Embed element

embed_2.png


The Embed element understands JS & HTML.