So in the Settings / Embed Facebook Ads Tracking Code, simply put the pixel in first, then paste the event in below it, like so:
<!-- Facebook Pixel Code -->
<script>
!function(f,b,e,v,n,t,s)
{if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};
if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];
s.parentNode.insertBefore(t,s)}(window, document,'script',
'https://connect.facebook.net/en_US/fbevents.js');
fbq('init', '2591031754288929');
fbq('track', 'PageView');
</script>
<noscript><img height="1" width="1" style="display:none"
src="https://www.facebook.com/tr?id=2591031754288929&ev=PageView&noscript=1"
/></noscript>
<!-- End Facebook Pixel Code -->
<script>
fbq('track', 'CompleteRegistration', {
value: 1,
});
</script>
Note that for "track event on page load", you only need the head script (the yellow above), you don't need the stuff that comes after the <body> tag
Showing posts with label kartra. Show all posts
Showing posts with label kartra. Show all posts
Tuesday, October 22, 2019
Monday, August 19, 2019
Kartra Custom Domain Test
Well, that didn't go so well.
Setting a CNAME for www.howtofixinsomnia.com (testing this with the "fix insomnia" web) was easy enough. In theory, by tomorrow it'll be linked up with kartra all nice and fancy.
However, redirecting howtofixinsomnia.com to https//www.howtofixinsomnia.com was a fucking disaster with AWS. Appearently, the way to do this is COMPLEX. WHY!??
1. Make a static redirect site with an S3 bucket.
2. Configure Cloudfront to work with the S3 bucket.
3. .... WHY THE FUCK CAN I NOT JUST USE ROUTE 53 TO POINT THE MAIN URL @ THE WWW. JESUS.
Anyways full guide is below... stay away... stay far, far away...
https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/tutorial-redirecting-dns-queries.html#tutorial-redirecting-dns-queries-create-route-53-record
So... for now... I am stuck using my website, with kartra's pages and their little favicon... I could try to route everything using GoDaddy but it'd prob be fucking annoying resetting up my email and shit... not worth it, this was supposed to be a cake walk. Plus, when I go back to Amazon, I'd have to figure everything out again. Too much of a pain
Setting a CNAME for www.howtofixinsomnia.com (testing this with the "fix insomnia" web) was easy enough. In theory, by tomorrow it'll be linked up with kartra all nice and fancy.
However, redirecting howtofixinsomnia.com to https//www.howtofixinsomnia.com was a fucking disaster with AWS. Appearently, the way to do this is COMPLEX. WHY!??
1. Make a static redirect site with an S3 bucket.
2. Configure Cloudfront to work with the S3 bucket.
3. .... WHY THE FUCK CAN I NOT JUST USE ROUTE 53 TO POINT THE MAIN URL @ THE WWW. JESUS.
Anyways full guide is below... stay away... stay far, far away...
https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/tutorial-redirecting-dns-queries.html#tutorial-redirecting-dns-queries-create-route-53-record
So... for now... I am stuck using my website, with kartra's pages and their little favicon... I could try to route everything using GoDaddy but it'd prob be fucking annoying resetting up my email and shit... not worth it, this was supposed to be a cake walk. Plus, when I go back to Amazon, I'd have to figure everything out again. Too much of a pain
Sunday, August 18, 2019
Kartra vs. Wordpress
I am going to switch 100% to Kartra, with only a wordpress blog nestled howtocureinsomnia.com/blog
To try to make Kartra work with all of wordpress' features, it seems like it's going to be a lot of work. You would practically want to be a web developer or you risk creating unknown variables that could lead to issues.
Since Kartra doesn't have a global header / footer, limit the kartra pages. The weekly content will be on wordpress. It will not have all of kartra's features, but it'll link to Kartra pages when it comes to anything I'd want to sell or have kartra pages promoting. It'll also use Kartra forms and Kartra videos, which will of course have Kartra features.
So someone opts in, gets an email about something new, clicks to the wordpress page (which Kartra email tags them for doing), watches the video (which Kartra tags them for doing), and then buys off the Kartra page, I have basically all the data I would ever want. I just don't have special kartra features on the blog post itself, other than any kartra forms or videos it contains.
So the majority of content produced will be on the wordpress blog, but that will all nestle inside a Kartra framework. The minority of the site will be Kartra pages, but those will contain all the powerful sales stuff.
SEE ALL PRIOR CUSTOMER Q'S ANSWERED:
https://www.kartra.com/blog/q-a-tuesdays/
To try to make Kartra work with all of wordpress' features, it seems like it's going to be a lot of work. You would practically want to be a web developer or you risk creating unknown variables that could lead to issues.
Since Kartra doesn't have a global header / footer, limit the kartra pages. The weekly content will be on wordpress. It will not have all of kartra's features, but it'll link to Kartra pages when it comes to anything I'd want to sell or have kartra pages promoting. It'll also use Kartra forms and Kartra videos, which will of course have Kartra features.
So someone opts in, gets an email about something new, clicks to the wordpress page (which Kartra email tags them for doing), watches the video (which Kartra tags them for doing), and then buys off the Kartra page, I have basically all the data I would ever want. I just don't have special kartra features on the blog post itself, other than any kartra forms or videos it contains.
So the majority of content produced will be on the wordpress blog, but that will all nestle inside a Kartra framework. The minority of the site will be Kartra pages, but those will contain all the powerful sales stuff.
SEE ALL PRIOR CUSTOMER Q'S ANSWERED:
https://www.kartra.com/blog/q-a-tuesdays/
What if I want my page on WordPress?
You'll need a WordPress Plugin called Blank Slate and duct tape.
Subscribe to:
Posts (Atom)