Site logo

Archived topic

Karta Javascript Embedding

5 replies · Started by James on April 26, 2019

Viewing posts 1–6 of 6

A client is using Karta and build a funnel/landing page. the script below is an example of simple insert and this page replaces the page and shows the Kartra landing page instead.

<script type="text/javascript" src="https://domainname.kartra.com/page/embed/somecode"></script>

Using other themes wodpress themes or avada and so on. when I go to the landing page the javascript kicks in right away and the kartra page loads and that's all you see and nothing else.

With Generate Press you first see the initial page then the javascript loads and you then see the new embedded landing page as if the javascript is delayed and not being looked at until after the initial page is loaded?

is there any way I can change this in Generate Press?

thanks in advance
James

Hi there,

how are you adding the script?

Literally just adding via text tab using classic wordpress editor.

Hi David,

Unfortunately didn't work, still loads theme first then landing page.

Added hook with script, chose before header and select the page required.

Landing page loads using the hook but still only after theme/page has loaded :(

James

Hmmm.... the thing is the script isn't render blocking so the that page being so light is gonna load before the request is complete. You could use the Layout Element to remove the Site Header, content title etc from the page.

This archived topic is closed to new replies.