Kentico 13 Email marketing - open rate & click rates are not tracking

Kajul Nisha asked on July 17, 2021 12:30

Hi,

I'm working on email marketing, in that mail are sending perfectly but it doesn't track the click rates and open rates. When I've explored the official documentation I've found the below configurations like,

Email marketing application -> edit the newsletter or email campaign -> Configuration tab -> On-line marketing section -> (Enabled) Track opened emails checkbox & Track clicked links.

Settings -> On-line marketing -> Enable on-line marketing

It won't track, even though I've done the above configuration.

kindly help me to resolve this.

Thanks in advance

Correct Answer

Dmitry Bastron answered on July 20, 2021 14:29

No, ALL is fine.

The other thing to check would be, do you have builder.UseEmailTracking() called on your MVC application init as per the documentation?

0 votesVote for this answer Unmark Correct answer

Recent Answers


Dmitry Bastron answered on July 20, 2021 10:30

Hi Kajul,

What cookie level do you have set up by default (Settings > System > Cookie level)? Is it lower than "Visitor"?

0 votesVote for this answer Mark as a Correct answer

Kajul Nisha answered on July 20, 2021 12:08

Hi Bastron,

My cookie level is Setting > System > default cookie level > as ALL

Have I to change it as Visitors??

0 votesVote for this answer Mark as a Correct answer

Kajul Nisha answered on July 20, 2021 16:52 (last edited on July 20, 2021 16:53)

I've tried this in 2 ways,

  1. ApplicationConfig.cs > RegisterFeatures(IApplicationBuilder builder) > builder.UseEmailTracking(); by doing this there is no changes in tracking. [I think the above is wrong! so I've reverted]

  2. Global.asax.cs > Application_Start() > builder.UseEmailTracking(); by doing this am getting error in my site like, [this is the step mentioned in the documentation]

Additional system routes cannot be added once the system routes have been mapped. Make sure all required features are enabled before calling routeBuilder.Kentico().MapRoutes().

Kindly help me to resolve this

0 votesVote for this answer Mark as a Correct answer

Kajul Nisha answered on July 20, 2021 17:03

Hi Bastron,

I've resolved the routing exception now the tracking is working perfectly. Thanks for your help

0 votesVote for this answer Mark as a Correct answer

Kajul Nisha answered on July 20, 2021 17:43

Hi Bastron,

Sometimes its tracking and sometime its not don't know what's happening there. if i only enable the following like Global.asax.cs > Application_Start() > builder.UseEmailTracking(); by doing this am getting error in my site like, [this is the step mentioned in the documentation] and build my solution and then tried its tracking but when i've added the line builder.UseABTesting(); with the above one its not tracking.

Kindly help me to resolve this

0 votesVote for this answer Mark as a Correct answer

Dmitry Bastron answered on July 21, 2021 10:12

Hi Kajul,

Could you please post the content of your ApplicationConfig.cs and Global.asax.cs?

0 votesVote for this answer Mark as a Correct answer

Kajul Nisha answered on July 22, 2021 08:22

Hi Bastron,

This is my Global.asax file content

public class MvcApplication : System.Web.HttpApplication
{
    protected void Application_Start()
    {
        ApplicationBuilder builder = ApplicationBuilder.Current;
        //builder.UseABTesting();
        builder.UseEmailTracking();            

        // Enables and configures selected Kentico ASP.NET MVC integration features
        ApplicationConfig.RegisterFeatures(ApplicationBuilder.Current);

        // Registers routes including system routes for enabled features
        RouteConfig.RegisterRoutes(RouteTable.Routes);

        // Registers enabled bundles
        BundleConfig.RegisterBundles(BundleTable.Bundles);

        //register dep inject - autofac
        DependencyResolverConfig.RegisterDependencies();

    }
}

This is my ApplicationConfig.cs file content,

 public class ApplicationConfig
{
    public static void RegisterFeatures(IApplicationBuilder builder)
    {
        // Enable required Kentico features

        // Uncomment the following to use the Page builder feature
        builder.UsePageBuilder();           

        //builder.UseScheduler();
        builder.UsePageRouting(new PageRoutingOptions
        {
            //EnableAlternativeUrls = true
        });
    }
}
0 votesVote for this answer Mark as a Correct answer

Dmitry Bastron answered on July 23, 2021 16:07

Hi Kajul,

The code appears to be correct. Does any other tracking work? I mean, can you see anything at all in Contact Management > Activity log tab? Also, what license are you using? Is it "Enterprise marketing solution"? It can be checked in Licenses application.

0 votesVote for this answer Mark as a Correct answer

Kajul Nisha answered on July 23, 2021 16:45

Hi Bastron,

Sorry, Previously I was using "Enterprise marketing solution" but from yesterday my trail version has end and it seems some of the options were disabled. so I can't check the configuration which you've mentioned. now I'm using free edition for my localhost.

Anyway, thanks for your help tracking was worked for me in "Enterprise marketing solution"

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.