Targeted content để focused vào thông tin user giúp sales products

Targeted content để focused vào thông tin user giúp sales products

Targeted content towards a specific user based on their personal information is the holy grail of website marketing. Most, if not all, large ecommerce sites have some form of targeted content implemented to make the site more relevant to its visitors.

An example of this is on Ebay.com, where they utilize this technique to display auctions on items that are similar to what the user has been searching for. By doing this, users might be compelled to keep exploring the site and ultimately buy something, which is the point.

Consider the following situation, you’re building a site where users can purchase tickets for concert events across the country. Rather than just displaying a static list of hundreds of events, why not just give the user exactly what they’re looking for by showing them events near them.

Requirements

  • Location module
  • Smart IP module
  • Views module
  • IPInfoDB account (Free)

Setup

Start by installing and activating the Location, Node Locations, Smart IP, and Device Geolocation modules. Then, select Google Maps for United States under the Geocoding Options page for the Location module(/admin/settings/location/geocoding).

Create a new content type called event . Under the Locative Information settings you’ll want to specify the Number of Locations to be at least 1 per event. Under Collection Settings set each of the location fields to “Allow”.

After signing up for a free IPInfoDB account and receiving your API key place it into the IPInfoDB Key field on the Smart IP configuration page(/admin/settings/smart_ip).

Create a new node view called nearby_events. This is what will be used to display a list of event nodes that are close to the visiting user.

You can setup the view with whatever parameters you want to display to the user. In my case, I just want to display the event title linked to the event node. After selecting your fields, filters, and sort criteria, add a new filter for Location: Distance / Proximity which will be used to display nodes within a certain distance from the user.

Use the following settings for the filter:

Paste this code in the PHP code for latitude, longitude box:

return array('latitude' => $_SESSION['smart_ip']['location']['latitude'], 'longitude' => $_SESSION['smart_ip']['location']['longitude']);

Targeted content để focused vào thông tin user giúp sales products

As you add events to the site, this view will display only the events within 50 miles of the visiting user whether they’re viewing on a mobile phone or a computer.

Bạn thấy bài viết này như thế nào?: 
No votes yet
Ảnh của Tommy Tran

Tommy owner Express Magazine

Drupal Developer having 9+ year experience, implementation and having strong knowledge of technical specifications, workflow development. Ability to perform effectively and efficiently in team and individually. Always enthusiastic and interseted to study new technologies

  • Skype ID: tthanhthuy

Tìm kiếm bất động sản

 

Advertisement

 

jobsora

Dich vu khu trung tphcm

Dich vu diet chuot tphcm

Dich vu diet con trung

Quảng Cáo Bài Viết

 
Hướng dẫn các bạn dùng TOOL FACEBOOK để vẽ CHIBI

Hướng dẫn các bạn dùng TOOL FACEBOOK để vẽ CHIBI

Facebook vừa cập nhật tính năng mới! Facebook sẽ tự vẽ hình avatar của bạn theo phong cách Chibi cực cool

Các bước cài đặt Drupal 8 trên Pantheon

 Spinning up a D8 site is just as easy as spinning up any Drupal site on Pantheon, but just in case you need a refresher, here’s how it’s done: 

Sinh viên học online trong đại dịch

Covid-19 đang thúc đẩy phương pháp học tập linh hoạt ở các trường trên thế giới

Covid-19 đang thúc đẩy phương pháp học tập linh hoạt ở các trường đại học trên thế giới.

Công ty diệt chuột T&C

 

Diet con trung