You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -13,6 +13,7 @@ Create a personalized user experienced based on location.
13
13
14
14
WP Engine GeoIP integrates with the variables on your WP Engine site to display content catered to the visitor’s location. With the ability to access variables from as broad as country to as specific as latitude and longitude, your website can now display geographically relevant content.
15
15
16
+
16
17
= Geo-Marketing =
17
18
18
19
* Create marketing campaigns targeted only at certain locations.
@@ -31,7 +32,7 @@ WP Engine GeoIP integrates with the variables on your WP Engine site to display
31
32
32
33
* Filter required legal notices from countries for whom those notices may not be relevant.
33
34
34
-
= ** Please Note =
35
+
= * Please Note * =
35
36
36
37
This plugin will only function on your [WP Engine](http://wpengine.com/plans/?utm_source=wpengine-geoip) Business, Premium or Enterprise level account. This will not function outside of the WP Engine environment.
37
38
@@ -40,31 +41,92 @@ This plugin will only function on your [WP Engine](http://wpengine.com/plans/?ut
40
41
1. Upload `geoip` to the `/wp-content/plugins/` directory
41
42
2. Activate the plugin through the 'Plugins' menu in WordPress
42
43
43
-
== Shortcodes ==
44
+
Please view the 'Other Notes' tab to see all of the available GeoIP shortcodes
45
+
46
+
47
+
== Location Variable Shortcodes ==
48
+
You can use any of the following location variable shortcodes to return the various geographic location the user is visiting your site from:
49
+
50
+
1) Continent: `[geoip-continent]`
51
+
52
+
2) Country: `[geoip-country]`
53
+
54
+
3) Region (State): `[geoip-region]`
55
+
56
+
4) City: `[geoip-city]`
57
+
58
+
5) Postal Code: `[geoip-postalcode]`
59
+
60
+
6) Latitude: `[geoip-latitude]`
61
+
62
+
7) Longitutde: `[geoip-longitude]`
63
+
64
+
8) Location: `[geoip-location]`
65
+
66
+
= Example =
67
+
`Hi, and welcome to [geoip-city]! The place to be in [geoip-region],[geoip-country].`
68
+
A visitor from Austin, Texas would see the following:
69
+
`Hi, and welcome to Austin! The place to be in TX, US.`
70
+
71
+
== Localized Content ==
72
+
73
+
9) Content: `[geoip-content country="US"]Your US specific content goes here[/geoip-content]`
74
+
The content shortcode allows you to hide or show specific content based on visitor geographies:
75
+
76
+
Below are all the supported geography options, this allows to you SHOW content for only specific locations:
77
+
78
+
* continent
79
+
* country
80
+
* areacode
81
+
* region
82
+
* city
83
+
* postalcode
84
+
85
+
Below are all the supported negative geography options, this allows to you HIDE content for only specific locations:
86
+
87
+
* not_continent
88
+
* not_country
89
+
* not_areacode
90
+
* not_region
91
+
* not_city
92
+
* not_postalcode
93
+
94
+
= Examples of the Content Shortcode =
95
+
This will display “Content just for US visitors” strictly for visitors viewing from the United States.
96
+
`[geoip-content country="US"] Content just for US visitors [/geoip-content]`
97
+
98
+
99
+
This will display “Content just for everyone in Texas and California” strictly for visitors from Texas and California.
100
+
`[geoip-content region="TX, CA."] Content just for everyone in Texas and California [/geoip-content]`
101
+
44
102
45
-
1) Continent: [geoip-continent]
103
+
You can mix and match geography and negative geography options to create verbose logic in a single shortcode:
104
+
`[geoip-content country="US" not-city="Austin"]Content for US visitors but not for visitors in Austin[/geoip-content]`
46
105
47
-
2) Country: [geoip-country]
48
106
49
-
3) Region (State): [geoip-region]
107
+
== Testing Parameters ==
108
+
You can use the following URL parameters to test how your localized content will appear to visitors from various geographic locations. You can add any of the parameters below to any URL of a page using the GeoIP shortcodes or API calls:
0 commit comments