Kentico CMS & Campaign Monitor - asp.net

Just wondering if anyone has any pointers on how to integrate campaign monitor with Kentico CMS. Kentico has its own built in newsletter signup but I want campaign monitor to be updated when a user suscribes. I tried simply modifying the aspx page with a campaign monitor html form but when I try and submit an email address nothing happens.
When I view source kenitco is surrounding the page contentwith a form which I believe is affecting the CM form.
I have tried adding a static html page but the form action is somehow being modified to point to the active page instead of pointing to Campaign monitor subscription page.
Any help would be greatly appreciated.

I have solved this. The problem was that aspx pages do not allow you to submit a form other than to itself. I modified the template to be a asp page and it now serves the form fine.
This maynot be the best solution but works for me!

Related

Not able to link elemantor form to hubspot

I have a normal elemantor form with Recaptcha enabled and for some reason, Hubspot is not recognizing the form as a non-hubspot form. I am using Form Vibes for the form along with front end validation
I tried the following solutions but it still didn't help:
https://elementor.com/help/hubspot-elementor-integration/
Disabled Recaptcha
Created a new form with no validation and unliked from form vibes.
The form submits without returning any errors but unfortunately, Hubspot does not recognize it.
If someone can point me in the right direction, I'll be very grateful.
Welcome!
I had this happen many times. Try disabling / enabling the hubspot plugin.
In the end I created APIs for each of the form as their plugin is very buggy.
Is the form recognised in the hubspot plugin?

How to preview WooCommerce endpoint pages

How can I preview or view WooCommerce endpoint pages such as the /order-received/ page without placing an order each time I want to view it?
I know how to edit the contents of WooCommerce endpoint pages, but I find it hard to work on the front-end if I can't preview the page.
There is no need to place a new order each time you want to preview the endpoint page.
Just place the order once and store the endpoint URL somewhere. You can re-visit the endpoint page as often as you want or even refresh the page after making changes in your code/styling.

HTML Form Submit Button Not Passing HTTP_Referrer Info

I was looking into my site's Google analytics code and realized that a a lot of pages that show up when my site visitor clicks on an html form submit button () are being logged as direct visitors.
Since these pages do not show up unless the visitor clicks on a form submit button, it is likely that the reason why these pages show up as the landing page for direct visit is because the referrer details are not being tracked.
Could someone help me out on how this can be fixed? Thanks in advance
Can't even begin to tell you why the referrer details are not being tracked, without you posting or pointing to any code.. but in general you can specify the referring URL with _setReferrerOverride()

Google Analytics in Wordpress - Cross-Domain Tracking

I've searched high and low for an answer for this problem and need the help of experts.
The website I'm helping to oversee has a registration in a frame on their main website. When a user visits the site, they can choose which course to take and click on a "Register" link to be taken to the externally hosted form.
I was able to get the GA tags changed on the framed pages, so that step is done.
However, I realise that in order to properly cross-domain track with Google Analytics, I need to also add an onclick event to any links that bring users to those pages, such as the example below.
Link
However, the site I'm working with is in Wordpress, and when I view the link in there it looks like this:
[iab_event link="http://www.EXAMPLESITE.com/course/4105/register.asp" text="Register"]
And when you view the page source of the live site this link is translated to this:
Register
I tried adding the second onclick event to the one above, but that didn't work. Is there any way to add the onClick="pageTracker._link('http://www.EXAMPLESITE.com/course/4105/register.asp'); return false;" to this link without breaking it?
Thank you in advance for any advice given!
Try stacking them in the onclick event like this:
Register
It should run all of the commands as long as they're separated by semi-colons.

Add goal in google analytics for a framed page

I have a page in ASP.NET C#, In my page I have iframe with another page. I want to add a Goal in Google analytics when people press the Submit-linkbutton in the framed page.
While my url doesnt change when I press the submit button I have heard that you can use the following javascript to tell Analytics that you´re on the specified page:
pageTracker._trackPageview('/booking.html');
So I have added the following line in the page_load function:
SubmitButton.Attributes.Add("onclick", "pageTracker._trackPageview('/booking.html');");
And in Google analytics have I added the goal url:
/booking.html
But nothing happends in the goal section when I press the submit button.
Im really not sure of what im doing so some help had been really appreciated.
Martin
Since iframes are treated as completely separate pages, I suspect you need to add the tracking code to the framed content as well.
You might also try calling a function in the parent page which triggers the page tracker:
SubmitButton.Attributes.Add("onclick", "parent.TrackPageView(window.location.href)");

Resources