-
How many posts do you have? – Maybe there are some delays because of hosting?
-
You want to create your own plugin collecting the data from Google Analytics – I’m not sure you’re able to do that.
-
“The main idea is to get views per post and store them with post meta.” –
Why do you want to collect that in post meta?
If you want to collect this data – I recommend you to create your own tables in the database.
There is a lot of ready PHP scripts which you can use for creating your custom plugin on WP. It’s the fastest way I guess.
A sample of my custom plugin for collecting stats (from the whole website).
Related Posts:
- How ( and mostly at what time ) can i prevent the alternate cron from running?
- How does task scheduler plugin implements cron that is not dependent on page load request? [closed]
- Switch from wp-cron to a server cron job
- WordPress cron job running more than once
- Cron: Update four post at Hour
- Activate Plugin Automatically After Set Time
- WordPress Cron function is not working
- Adding custom cron_schedule prior to wp_schedule_event
- Uncaught Error: Call to undefined function wp_generate_attachment_metadata() @ wp-cron
- Schedule WordPress Auto-Updates to only run during business hours
- How do I email a new page password to somebody every month?
- What happens when wp_cron is deactivated in WordPress?
- wp_schedule_single_event function not working
- action-scheduler vs wp-background-processing
- Why is wp-cron only executing on page visit?
- How to periodically scrape and cache strings from remote txt files. – My First Plugin
- Does using WP-cron make the site slower for the user?
- wp_schedule_single_event not working: cron job is triggered but nothing gets executed
- How to make a implement queue for scheduling tasks in WordPress?
- Setup wp_schedule_event within a custom plugin
- How to set intervals in cron jobs?
- What causes wp_schedule_single_event to fire off?
- i need to make custom cron_schedule with custom interval time as a parameter into a custom payment gateway plugin wordpress
- Cron task gets removed from the schedule
- WP_CRON issue with UTC and local time
- WordPress crob job performance
- How to customize ‘recurrance’ of’ wp_schedule_event’?
- How to set-up multiple cron task with wp_schedule_event so that they do not overlap?
- Running a function using Crown WordPress on one day a week, for example, Mondays of every week
- What’s the preferred method of writing AJAX-enabled plugins?
- How to add a shortcode button to the TinyMCE editor?
- Plugin upgrading: Widget settings
- Create a table in custom plugin on the activating it?
- How would you require and automatically download dependent plugins?
- Using require_once in a Plugin?
- How to call “page specific menu items” in template [closed]
- Understanding apply_filters
- Editor not displaying dynamically after clicking on the button
- Master menu item for multiple plugins?
- Publish Post After Click On A Link
- How to submit documentation with plugin
- How to customize user search
- Upgrade Private Plugin without Deleting
- Placement of Code in Plugin for hooking `save_post`
- gallery option is not available in media upload box in costum theme option page
- Making my plugin translation ready. Poedit not working
- How can plugins have their own pages?
- Open Post Thumbnail in New Child Theme File in WordPress
- Reusable functions and tools (Framework)
- Creating a plugin to sanitize comment and the url field before display only
- Object Oriented Plugin not working
- Creating mySQL procedure with $wpdb
- Editable form for WordPress plugin options page
- wp-pagenavi getting 404 page not found
- remove add new post, if there is already one post
- Plugin Not Working After Being Uploaded To WordPress Plugin Repository
- Difference and examples of esc_attr__() and esc_attr_e()
- Change the display of Settings API (do_settings_sections)
- WordPress Jquery UI Spinner
- Issue running db create table query from static method
- How can I modify admin bar only if my plugin is loaded
- Sanitizing file & directory form input
- Adding custom meta boxes to specified custom post type
- How to write to a separate PHP file in plugin settings
- Custom CSS not being added by plugin
- How to display results from a data table with an encrypted user id?
- How do i specify a url to which to redirect the user after he logs out from facebook?
- Two plugins using the same CSS id
- Activation flow of a plugin in a multisite environment
- Checkbox show / hide output result
- How to show multi line output from metabox
- How to keep plugin (media-sync) running even the tab is closed?
- How does the WP repository determine that two plugins are the same when counting active installs?
- Need to edit author permissions | custom taxonomy
- Where do I put the code snippets I found here or somewhere else on the web?
- Visual composer custom element error
- WP Import All Multiple Dynamic Link Imports
- admin_notices show after load completed
- function post to trash problem
- how to add a hidden type input to wp admin login form programmatically
- when i activate my WordPress plugin cannot see customizer options or preview
- Overwrite js code using WP_Footer
- Plugin Options Page and Subpage
- Echo custom admin field into a is_single()
- WordPress Boilerplate Plugin doesn’t see callback functions for add_settings_field and add_settings_section
- Hide ‘add to cart’ button for some products [duplicate]
- Exclude specifed files from plugin editor
- Add Flatr button to Sharing option
- Change localization only for plugin
- How to get author developer link on plugin page
- wp_schedule_event need to deactivate plugin changing recurrance
- Customize Multi-Column Tag Map to fetch specific post-type
- Upload Image to desired directory through plugin
- How can I delete the options from DB when the plugin is deleted?
- How do I set register_meta for a specific CPT?
- How to Enfroce Domain Licensing Limits? [closed]
- How can I save the selected page in the dropdown after anyone clicks on Save Changes?
- Update Content for a Custom Block Toolbar Button
- Submitting form to admin-post.php WordPress
- WordPress Throwing Deprecated Errors on its own Files