This is about site [login to view URL] which is under development hence the ugly colors and broken links.
This will be be your task:
Write a php script that checks if visitor has a cookie. If no, create cookie and create linked record in table VISITORS, and create linked record in table VISITOR_SESSIONS. If yes, create record in table V_SESSIONS linked to older existing record in table VISITORS. To be clear: each visitor should have one unique cookie and one unique record in table VISITORS, and one or more records in table V_SESSIONS.
Show country depending content based on stored country in SESSIONS table. In what country content should be shown is defined in a table named CONTENT, displaying it is a matter of editing one php function dedicated to the content filtering.
At start of visitor's session, regardless on what page he lands, show pop-up window to visitor with our policy and cookie consent acceptance. (PCCA). If choice = no, send visitor to other website, if choice = yes, send visitor to requested page, with content filtered depending on country (will be explained later). If content on landing page is not allowed for the visitor's country then send visitor to alternative page.
Per session store details in table V_SESSIONS: session start date/time, session end date/time, PCCA accepted (Y or N), ip, country, ISP, os, browser, system clock, system language, screen resolution, website adaptive mode. If visitor's ip changes during a session, then create a new session record. Fetch country and ISP from the existing ip to country database on the server.
For now, there are only two country groups for filtering content: France, and rest of the world, but you should make things so that it will be easy for me to add more country groups in the future.
When it is not possible to store a cookie in visitor's browser or cookie is immediately deleted, use his ip address as reference. You'll need to write some clever script for this.
If no values are found for fetched data, then submit XXX in the tables.
Force all traffic to all pages on the site to https.
When you decide to to this project for me it automatically means you accept and respect these terms, please read them carefully:
You have experience with cookies and visitor tracking and PHP programming and you have basic understanding of database structures and purposes so you know what you're doing. You will work independently, and you will test your own work before you hand it over to me. I will not be your testing pilot, I don't have time for that. We will not have long chats, if there is an issue you will put your comment or question in the chat window and I will answer as soon as I'm back at my computer. I will have the final word on file, variable and column names. You will not make a fuzz about small changes or additions needed to get all the above work properly and integrated in our sites. Custom PHP coding, not framework.
You develop things on my server, first on a [login to view URL] page and you don't overwrite any existing files before you make backups. You start working on this immediately and show progress every day, in this pace:
Day 1: creating cookie and records in the two tables for first and subsequent visits
Day 2: filtering content depending on visitor's country
Day 3: pop-up window and subsequent site behavior
Day 4: fixing errors, final trimming, completing full project
You do clean php coding with clear commenting for each function (your name, date, description of function), you put everything in separate function or class files, so they can be called from the html pages rather than put all coding in the html pages themselves. Site specific parameters are, and will be added in a config file. Everything has to be portable, meaning I can duplicate everything to another website with only having to edit the config file.
My maxium budget is $200. If you do a proper job I'll have tons of other work on this site for you after this.
13 freelancer đang chào giá trung bình $216 cho công việc này
Hello from Australia. Honest and reliable company, able to deliver simple or complex projects on-time and at a Low cost. Please do not hesitate to contact me for any other inquiries.
hi. i have read your job description but i don't understand well can you send me source code for this project? i will check the source code then i can start your project. please send me message and source code.