Post by supak111 » Thu Sep 29, 2022 5:08 am

Hey everyone, is there any way to make opencart 3 automatically create a new Marketing Tracking code if one is missing?

Example: someone visits MySite.com/?tracking=SomeTrackingCode --> not found --> Opencart automatically makes a new "SomeTrackingCode" Marketing Tracking code

Thanks everyone

~ OC 3.0.3.2 - OCmods only ~


Active Member

Posts

Joined
Fri Feb 13, 2015 12:09 pm

Post by paulfeakins » Thu Sep 29, 2022 7:56 pm

It wouldn't be too tricky to code but you'd have to be aware that anyone could fill up your database if they realised.

For quick, professional OpenCart support please email info@antropy.co.uk


User avatar
Guru Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - Reigate, Surrey, United Kingdom

Post by supak111 » Fri Sep 30, 2022 1:46 am

Yea I do realize that it could be abused. I would probably add some requirements in the marketing code, say require @ symbol in code for example

What file would I need to work on to do this? What file checks if visited marketing code is valid or not?

~ OC 3.0.3.2 - OCmods only ~


Active Member

Posts

Joined
Fri Feb 13, 2015 12:09 pm

Post by paulfeakins » Mon Oct 03, 2022 6:27 pm

supak111 wrote:
Fri Sep 30, 2022 1:46 am
Yea I do realize that it could be abused. I would probably add some requirements in the marketing code, say require @ symbol in code for example

What file would I need to work on to do this? What file checks if visited marketing code is valid or not?
From those questions it sounds like you really should pay a developer in the Commercial Support Forum.

For quick, professional OpenCart support please email info@antropy.co.uk


User avatar
Guru Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - Reigate, Surrey, United Kingdom
Who is online

Users browsing this forum: No registered users and 13 guests